import request from '@/utils/request'

export function getAuditList(data){
    return request({
        url:'/audit-list',
        method:'get',
        params:data
    });
}

export function getCaseList(data){
   return request({
        url:'/case-list',
        method:'get',
        params:data
   });
}

export function getCaseDetail(data){
   return request({
       url:'/case-detail',
       method:'get',
       params:data
   });
}

export function doAudit(data){
   return request({
        url:'/do-audit',
        method:'get',
        params:data
   });
}

export function beforeChangeStatus(data){
   return request({
       url:'/before-change',
       method:'get',
       params:data
   });
}

export function changeStatus(data){
   return request({
       url:'/change-status',
       method:'get',
       params:data
   });
}

//历史记录
export function getHistoryCaseList(data){
   return request({
      url:'/history-case-list',
      method:'get',
      params:data
   });
}

export function getHistoryCaseDetail(data){
   return request({
      url:'/history-case-detail',
      method:'get',
      params:data
   });
}
